package com.bw.ppjokeplay.adapter

import android.widget.TextView
import com.bw.ppjokeplay.R

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.example.livehome.TextEntity


class MessageAdapter : BaseQuickAdapter<String, BaseViewHolder>(R.layout.item_messageitem) {

    override fun convert(holder: BaseViewHolder, item: String) {

        var view = holder.getView<TextView>(R.id.item_messageitem_msg)
        holder.setText(R.id.item_messageitem_msg,item)


    }
}